import Vue from 'vue'
import VueRouter from 'vue-router'
import LoginView from "@/views/LoginView.vue";
import SchedulingView from "@/views/SchedulingView.vue";
import SchedulingABCView from "@/views/SchedulingABCView.vue";
import AppointmentView from "@/views/AppointmentView.vue";

Vue.use(VueRouter)

const routes = [
    {
        path: '/',
        name: 'Login',
        component: LoginView
    },
    {
        path: '/scheduling',
        name: 'scheduling',
        component: SchedulingView
    },
    {
        path: '/doctor',
        name: 'schedulingABC',
        component: SchedulingABCView
    },
    {
        path: '/index',
        name: 'index',
        component: () => import('@/views/index/Index.vue')
    },
    {
        path: '/search-docker',
        name: 'search-docker',
        component: () => import('@/views/searchDocker/SearchDocker.vue')
    },
    {
        path: '/Appointment',
        name: 'Appointment',
        component: AppointmentView
    }
]

const router = new VueRouter({
  routes
})

export default router




